Repository navigation
Conversation
The unit and integration lanes check out the repository and then run its code, but never push. Leaving the token in .git/config lets that code, or anything it pulls in, reuse it. SEC-2544
…-2544-workflow-sweep
…-2544-workflow-sweep
oliverlaz
marked this pull request as ready for review
November 25, 2026 12:39
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to SEC-2544 (CI-12). The audit of this repo's workflows found it already hardened: read-only top-level permissions, per-job grants, event data passed through
env:, and arelease-onlyguard that checks head repo, author and branch. One gap remained.Change
run_tests.ymlandrun_integration.yml:actions/checkoutnow setspersist-credentials: false. Both lanes check out the repository and run its code without ever pushing. LeavingGITHUB_TOKENin.git/configlet that code, or a dependency it installs, reuse the token.regen.ymlkeeps its credentials because it pushes, and SEC-2541 owns that file.Verification
actionlintis clean apart from the knownclient-idfalse positive oncreate-github-app-token@v3.zizmor --offline --persona=auditorno longer reportsartipackedfor these files.Left to other PRs: the
steps.target.outputs.*interpolation inrelease.yml(#123, SEC-2536).